package com.common.constants;

public class Code {
    //验证码有效时间，单位秒
    public static final int time = 120;
    //验证码图片格式，png
    public static final String type="png";
    //验证码图片宽度，px
    public static final int width = 100;
    //验证码图片高度，px
    public static final int height = 40;
    //验证码位数
    public static final int length = 4;
    //验证码类型：1. 纯字母；2. 纯数字；3. 数字+字母
    public static final int charType = 2;
    // 验证码 Session Key
    public static final String CODE_PREFIX = "abc_captcha_";
}
